%pot_cand=[7 11 34 40 49 52 59];
pot_cand=[34 40 52 11];
scale_fact=0.6;
t_ind=[2 3 5];
figure(2)
clf;
ha(1)=axes('position',[0 0 0.3 1]);hold on
ha(2)=axes('position',[0.33 0 0.3 1]);hold on
ha(3)=axes('position',[0.66 0 0.3 1]);hold on

clr_ind='rkrkrkrkrkrkr';

for ind=1:length(pot_cand)
    if ind>2
        scale_fact=0.3;
    end
    for knd=1:3
        act=hom_data(17).raw_data(t_ind(knd)).sig_act(hom_data(17).raw_data(t_ind(knd)).act_code>0,pot_cand(ind));
        act=ftfil(act,18,0,10);
        act=psmooth(act);
        raw_act=act/median(act)-1;
        axes(ha(knd))
        plot(raw_act*scale_fact+ind,'color',clr_ind(ind))
        xlim([1 length(raw_act)])
        ylim([0.5 length(pot_cand)+1.2])
    end
end

for ind=1:3
    axes(ha(ind))
    axis off
end